﻿<Window x:Class="PowerSong.UserInterface.EditBannerWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Edit Scrolling Notice" Height="340" Width="555" Icon="/PowerSong;component/Icons/BlackIcon.ico"
        WindowStartupLocation="CenterScreen" xmlns:my="clr-namespace:PowerSong.UserInterface">
    <Grid>

        <TextBlock HorizontalAlignment="Left" Margin="10,15,0,0" Text="Title:" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="79,12,0,0" Name="TitleTextBox" VerticalAlignment="Top" Width="442" Text="Scrolling Notice" />
        
        <TextBlock HorizontalAlignment="Left" Margin="10,41,0,0" Text="Notice Text:" VerticalAlignment="Top" />
        <TextBox Margin="79,41,12,145" Name="NoticeTextBox" TextWrapping="Wrap" VerticalScrollBarVisibility="Auto" />
        <Button Content="_Cancel" Height="23" HorizontalAlignment="Right" Margin="0,0,12,12" Name="CancelButton" VerticalAlignment="Bottom" Width="75" Click="CancelButton_Click" IsCancel="True" />
        <Button Content="_OK" Height="23" HorizontalAlignment="Right" Margin="0,0,93,12" Name="OKButton" VerticalAlignment="Bottom" Width="75" Click="OKButton_Click" IsDefault="True" />
        <GroupBox Height="90" HorizontalAlignment="Left" Margin="79,0,0,41" VerticalAlignment="Bottom" Width="397">
            <GroupBox.Header>
                <CheckBox Content="Override current settings for displaying notices:" Height="16" Name="OverrideCheckBox" Checked="OverrideCheckBoxChanged" Unchecked="OverrideCheckBoxChanged" />
            </GroupBox.Header>
            <Grid Name="OverrideGrid" IsEnabled="False">
                <TextBlock HorizontalAlignment="Left" Margin="10,10,0,0" Text="Text Colour:" VerticalAlignment="Top" />
                <TextBlock HorizontalAlignment="Left" Margin="109,9,0,0" Text="Background Colour:" VerticalAlignment="Top" />
                <TextBlock HorizontalAlignment="Left" Margin="228,10,0,0" Text="Time to Display (seconds):" VerticalAlignment="Top" />
                <TextBox Height="23" HorizontalAlignment="Left" Margin="228,32,0,0" Name="TimeTextBox" VerticalAlignment="Top" Width="71" />
                <my:ColorControl HorizontalAlignment="Left" Margin="10,32,0,0" x:Name="colorControl1" VerticalAlignment="Top" />
                <my:ColorControl HorizontalAlignment="Left" Margin="109,31,0,0" x:Name="colorControl2" VerticalAlignment="Top" />
            </Grid>
        </GroupBox>
    </Grid>
</Window>
